<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="../../fckeditor/fckeditor.js"></script> 
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />

<title>NewsRoom <{$title}>页</title>
<script>
function create(){
	var oFCKeditor          = new FCKeditor('new_content');      //创建FCK对象
	oFCKeditor.Height      = 800;        //设置FCK显示高度
	oFCKeditor.Width      = 850;        //设置FCK显示宽度
	oFCKeditor.BasePath   = "../../fckeditor/";    //指定编辑器路径，要加载fckeditor/editor/fckeditor.html
	oFCKeditor.ReplaceTextarea();   
}
function check_submit()
{
  if($('#new_title').val().replace(/(^\s*)|(\s*$)/g, "")=="")
  {
      alert('标题不能为空！');
      $("#new_title").focus();
      return false;
  }
  return true;
}
</script>
</head>
<body onload="create()">
<h1>
<span class="action-span1">
<a href="http://cms.wondershare.com/wondershare/news_room.php?action=index">NewsRoom列表管理</a>
</span> 
<span id="search_id" class="action-span1"> > <{$title}>NewsRoom</span>
<div style="clear:both"></div>
</h1>
<div id="tabbody-div"  style=" width:1100px;">
      <form  name="theForm" method="post" action="/wondershare/news_room.php?action=edit" onsubmit="return check_submit();">
        <table align="center" width="90%" id="general-table">
          <tbody>
		  <tr>
            <td class="label">*标题：</td>
            <td><input type="text" size="60" style="float:left;color:;" value="<{$new_info.title|escape}>" name="new_title" id="new_title"> </td>
          </tr>
		  <tr>
            <td class="label">短标题：</td>
            <td><input type="text" size="60" style="float:left;color:;" value="<{$new_info.sub_title|escape}>" name="new_sub_title" id="new_sub_title"> </td>
          </tr>
		  <tr>
            <td class="label">keyword：</td>
            <td><input type="text" size="60" style="float:left;color:;" value="<{$new_info.keyword|escape}>" name="new_keyword" id="new_keyword">
            </td>
          </tr>
		  <tr>
            <td class="label">简介：</td>
  			<td>
			  <textarea cols="60" rows="6" id="new_summary" name="new_summary"><{$new_info.summary|escape}></textarea> 
             </td>
          </tr>   
		  <tr>
            <td class="label">内容：</td>
  			<td>
			 <textarea  rows="15" id="new_content" name="new_content" ><{$new_info.content|escape}></textarea>
             </td>
          </tr>      
        </tbody></table>
        <div  style="margin-left:380px; margin-top:20px;">
          <input type="hidden"  name="new_id" id="new_id" value="<{$new_info.id}>">
          <input type="submit"   class="button" value=" <{$title}> " name="sub_from">
          <input type="reset" class="button" value=" 重置 ">
        </div>
        <input type="hidden" value="<{$form_act}>" name="act" >
      </form>
    </div>
</body>
</html>